﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing;

namespace EcoSystem
{
    /// <summary>
    /// 文件存储块
    /// </summary>
    public class Bucket : FullAuditedAggregateRoot<string>
    {
        /// <summary>
        /// 是否公开
        /// </summary>
        public bool IsPublic { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 存储块描述
        /// </summary>
        [MaxLength(512)]
        public string Description { get; set; }
    }
}
